/* Class37 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */

public class Class37 {
	public static int anInt653;
	public static boolean aBoolean654 = false;
	public static Class7 aClass7_655;
	public static int anInt656;
	public static JString aClass3_657 = Class39_Sub5_Sub9.createJString(117, "K");
	public static Class9 aClass9_658;
	public static JString aClass3_659 = aClass3_657;
	public static JString aClass3_660 = aClass3_657;
	public static JString aClass3_661;
	public static int anInt662;
	public static int anInt663;
	public static RSSocket activeSocket;

	public static void method349(int i, JString class3, JString class3_0_, JString class3_1_) {
		Tile.aClass3_1896 = class3;
		Tile.aClass3_1916 = class3_1_;
		Tile.aClass3_1899 = class3_0_;
	}

	public static void method350(int i) {
		activeSocket = null;
		aClass7_655 = null;
		aClass3_659 = null;
		aClass3_661 = null;
		aClass3_660 = null;
		aClass3_657 = null;
		aClass9_658 = null;
	}

	public static void method351(int i, int i_2_, int i_3_) {
		if (i != 1)
			anInt663 = -95;
		if (GameCharacter.anInt2313 != 0 && i_3_ != -1) {
			Class41.method891(87, 0, 1, false, Class36.aClass9_Sub1_650, GameCharacter.anInt2313, i_3_);
			RSSocket.anInt313 = i_2_;
		}
	}

	public static boolean method352(byte i, int i_4_) {
		if (i_4_ >= 97 && i_4_ <= 122)
			return true;
		if (i_4_ >= 65 && i_4_ <= 90)
			return true;
		if (i_4_ >= 48 && i_4_ <= 57)
			return true;
		return false;
	}

	public static RSInterface getInterface(byte i, int i_5_) {
		int i_6_ = i_5_ & 0xffff;
		int i_7_ = i_5_ >> 16;
		if (Class62_Sub1.interfaceCache[i_7_] == null || (Class62_Sub1.interfaceCache[i_7_][i_6_] == null)) {
			boolean bool = RSSocket.method219(0, i_7_);
			if (!bool)
				return null;
		}
		return Class62_Sub1.interfaceCache[i_7_][i_6_];
	}

	public static void method354(byte i) {
		if (Class39_Sub5_Sub2.anInt1692 > 0)
			ISAAC.method1044(7641);
		else {
			Class39_Sub14.method879((byte) 40, 40);
			ObjectDef.aClass16_1935 = activeSocket;
			activeSocket = null;
		}
	}

	static {
		aClass7_655 = new Class7(50);
		aClass3_661 = Class39_Sub5_Sub9.createJString(104, "@cr1@");
		anInt662 = 1;
	}
}
